package com.cloud.lan.service;

import com.cloud.lan.api.dto.req.SubmailTaskReq;
import com.cloud.lan.entity.base.BaseResponse;
import com.cloud.lan.entity.model.dataobject.SubmailTaskRecordDO;

/**
 * Created by zhouquan on 2022/9/18.
 */
public interface ISubmailTaskService {

    BaseResponse<Object> manageList(SubmailTaskReq req);


    BaseResponse<Object> operate(SubmailTaskReq req);

    boolean hasExistHandingTask(SubmailTaskReq req);

    boolean merge(SubmailTaskRecordDO recordDO);

    SubmailTaskRecordDO queryById(Long id);
}
